package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCategory;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.vo.MarketCategoryValue;

import java.util.List;

public interface CategoryService {
    List<MarketCategoryValue> selectByMap();

    List<MarketCategory> selectById(Integer id1);

    List<MarketCategory> selectAll();

    //新增的
    List<MarketCategory> getAll();
    BaseRespVo create(MarketCategory category);
    void add(MarketCategory category);
    List<MarketCategory> queryBypid(Integer pid);
    List<MarketCategory> queryL1();
    int updateById(MarketCategory category);
    BaseRespVo update(MarketCategory category);
    void deleteById(Integer id);
    BaseRespVo delete(MarketCategory category);

}
